<?
	session_start();

	include ("permissao.php");

?>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="css/principal.css" type="text/css" media="all">
<link rel="shortcut icon" href="images/favicon.ico" />
<link rel="stylesheet" href="js/css/ui-lightness/jquery-ui-1.10.1.custom.css" type="text/css" media="all" />
<script type="text/javascript" src="js/jquery-1.9.1.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.10.1.custom.min.js"></script>
<title>:: sYs Trade Turismo ::</title>
</head>

<body>
	<table width="100%" border="0">
	  <tr>
		<th><?php require("topo.php"); // Criar a pagina do topo ?></th>
	  </tr>
	  <tr>
		<td>
		
		<?
		// Criar a parte do case para os menus, do jeito que vc quiser, mas vou colocar aqui mesmo no momento 
	
	@$pg	= $_REQUEST['pg'];

	if($pg	== "logout"){
	    $inicio	= "logout.php";
	}elseif($pg	== "main"){
	    $inicio	= "main.php";
	}elseif($pg	== "cadastroClienteForm"){
	    $inicio	= "cadastroClienteForm.php";
	}elseif($pg	== "consultaClienteForm"){
	    $inicio	= "consultaClienteForm.php";
	}elseif($pg	== "logout"){
	    $inicio	= "logout.php";
	}else{
		$inicio	= "main.php";
	}
		
		
	 include($inicio); // Criar a pagina de login
	 
	 
	 
	 
	  ?>
			
		
		
		</td>
	  </tr>
	  <tr>
		<td><?php require("rodape.php"); // Criar a pagina do rodape ?></td>
	  </tr>
	</table>
</body>
</html>
